from utils.common_import import *
from .containers import get_zombie_info

class ZombieContainers(Resource):
    # @jwt_required()
    @exception_response()
    def get(self):
        prometheus_uri = cluster.get_prometheus_uri()
        frameworkluanch_uri = cluster.get_launcher_uri()
        data = get_zombie_info(frameworkluanch_uri, prometheus_uri)

        return make_success_response(data)
